package cn.sxw.ld.module.pet.service;


import cn.sxw.ld.module.pet.pojo.Pet;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author: SXW
 * @since: 2025年02月25日 13:46
 * @desc:
 */
@Service
public interface PetService extends IService<Pet> {

    Page getPage(int page, int pageSize, String phone, String petName, String memberName);

    Map<Integer, String> addPet(Pet pet);

    Map<Integer, String> updateCheck(Pet pet);

    boolean batchDeletePets(List<Long> ids);

    boolean batchDeletePetsByMemberIds(List<String> ids);
}
